#!/bin/bash


echo
echo "Adding custom splash"
update-alternatives --install /usr/lib/usplash/usplash-artwork.so usplash-artwork.so /usr/lib/usplash/usplash-theme-wiab.so 5
#update-alternatives --config usplash-artwork.so
update-alternatives --set usplash-artwork.so /usr/lib/usplash/usplash-theme-wiab.so 

echo
echo "Regenerating initramfs for custom bootsplash"
# TODO not working in chroot :-/
dpkg-reconfigure linux-image-$(uname -r)
#usplash -c




